﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;

namespace Eagle.WindowServiceUI
{
    public class ServiceConfig
    {
        private static ServiceConfig instance = new ServiceConfig();
        private ServiceConfig()
        {
            this.Initial();
        }

        public static ServiceConfig Instance
        {
            get {
                return instance;
            }
        }

        public string ServiceName { get; set; }
        public string PhysicalServicePath { get; set; }

        public void Initial()
        {
            this.PhysicalServicePath = ConfigurationManager.AppSettings["PhysicalServicePath"];
            this.ServiceName = ConfigurationManager.AppSettings["ServiceName"];
        }
    }
}
